import 'package:permission_handler/permission_handler.dart';
class PermissionUtils{

  //是否有权限
  static checkPermission() async {
    var permission = await Permission.storage.request();
    if(!permission.isGranted){
      openAppSettings();
    }
  }

}